using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BUS;
using Entities;
using Utility;
public partial class Admin_HangSanXuatAdd : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        tbHangSanXuat hsx = new tbHangSanXuat();
        hsx.TenHangSanXuat = TextBox2.Text;
        hsx.DiaChi = TextBox3.Text;
        hsx.DienThoai = int.Parse(TextBox4.Text);
        hsx.Email = TextBox5.Text;
        tbHangSanXuatBUS.Insert_HangSanXuat(hsx);
        Response.Redirect("~/Admin/SanPhamAdd.aspx");
    }
}
